<div   class="popup_window_css" id="sample" >
	<table class="popup_window_css" style="width: 100%;" >
		<tr    class="popup_window_css" >
			<td    class="popup_window_css">
				<div   class="popup_window_css_head">
					<img src="images/close.gif" alt="" width="12" height="12" /><?php echo $l_reference;?>
				</div>
				<div   class="popup_window_css_body">
					<form action="referenceHandle.php" method="post">
						<input  type="hidden" value="<?=$id?>"  name="id" />
						<input  type="hidden" value="<?=$type?>" name="type" />
						<input  type="hidden" value="<?=$id_employee?>"  name="idmanager" />
						<input  type="hidden" value="<?=$didgroupapprover?>" name="idgroup" />
						<!--  <input style="margin:12px 5px 0 0; font-size: 12px;float: right" type="submit" value="<?php echo $l_accept;?>" class="btn_choose" name="agree" />-->
						
					</form>
					
					<table width="100%" style="padding-top: 10px;min-width: 600px">
						<tr >
							<td width="20%" style="vertical-align:top">
	                        	<ul class="list_ph">
	                        		<?php while ($row= mysql_fetch_array($queryDepartment)){?>
	                            	<li><a  onclick="showUser(<?=$row[IDDepartment]?>)"><?=$row[DepartmentName]?></a></li>
	                                <?php }?>
	                            </ul>
	                        </td>	
								
							<td width="40%" valign="top">
							<div id="txtHint">
								<table border='1' class='table_th' style='height:22px;' cellspacing='0' width="100%">
									<tr style='background-color:#EEE;'>
									<td colspan="2"><?php echo $l_employee_list;?></td>
									
									</tr>
								</table>
							</div>
							</td>
							<td width="40%"  valign="top">
							<div id="txtHint1">
								<?php 
									
								?>
								<table border='1' class='table_th' style='height:22px;' cellspacing='0' width="100%">
									<tr style='background-color:#EEE;'>
										<td colspan="2"><?php echo $l_reference;?></td>
										
									</tr>
									<?php 
									$i=0;
									while ($row = mysql_fetch_array($queryReference))
									{
										
										$listreference[$i]=$row[IDEmployee];
										$namereference[$i]=$row[FullName];
										
									?>
										
									
									<tr >
									<td ><?=$row[FullName]?></td>
									<td width="20"><a onclick='rmReference(<?=$listreference[$i]?>)'><img src="images/del.png" /></a></td>
									</tr>
									<?php 
										$i=$i+1;
									}
										$_SESSION['listreference']=$listreference;
										$_SESSION['namereference']=$namereference;
										$_SESSION['slreference']=$i;
									?>
								</table>
								
							</div>
							</td>
						</tr>
					</table>
				</div>
				<div   class="popup_window_css_foot">
					<form action="referenceHandle.php" method="post">
						<input  type="hidden" value="<?=$id?>"  name="id" />
						<input  type="hidden" value="<?=$type?>" name="type" />
						<input  type="hidden" value="<?=$id_employee?>"  name="idmanager" />
						<input  type="hidden" value="<?=$didgroupapprover?>" name="idgroup" />
						<input style="margin:12px 5px 0 0; font-size: 12px;" type="submit" value="<?php echo $l_accept;?>" class="btn_choose" name="agree" />
						
					</form>
				</div>
			</td>
		</tr>
	</table>

</div>